<template>
  <view class="page-box">
    <view style="width: 100%; padding: 0 60upx;">
      <view class="flex justify-between align-center" style="width: 100%; height: 96upx; border-bottom: 2upx solid #F8F8F8;" v-for="(item, index) in set_up_list" :key="index" @click="handleToWithdrawContent(index)">
        <view style="font-size: 26upx; color: #333333;">{{item}}</view>
        <image src="/static/icon/icon_more@2x.png" style="width: 30upx; height: 30upx;"></image>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  name: "withdrawalManage",
  data(){
    return {
      set_up_list: ['银行卡','提现'], //设置列表
    }
  },
  methods:{
    handleToWithdrawContent(index){
      switch (index) {
        case 0:
          this.$uniNavigateTo({
            url: '/pages/my/setUp/bankCard/bankCard'
          })
          break;
        case 1:
          this.$uniNavigateTo({
            url: '/pages/my/setUp/withdraw/withdraw'
          })
          break;
      }
    }
  }
}
</script>

<style scoped>
.page-box{
  width: 100%;
  min-height: 100vh;
}
</style>
